package com.browsesoft.dbtools;

/**
 * 数据库中一个字段
 */
public class DBField {
	/**
	 * 字段名
	 */
	private String name;

	/**
	 * 字段长度
	 */
	private int length;

	public DBField(String name, int length) {
		this.name = name;
		this.length = length;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
